[HVM] Fix some IOAPIC and LAPIC device model bugs.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 10 Aug 2006 09:47:37 +0000 (10:47 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 10 Aug 2006 09:47:37 +0000 (10:47 +0100)
commit69f646a61b1b083df1526e7bd2b679aad5fefc34
tree941f3c9da01f9a3e794ab4226c5099e5e00d9858
parentf5cbcc33d2d8a0437fc99cd65af4acad2d438e18
[HVM] Fix some IOAPIC and LAPIC device model bugs.

Fix some boundary checking errors.
Fix the confusion using variables 'level' and 'trig_mode'.
Also fix some other misc mistakes and do some cleanup.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
xen/arch/x86/hvm/vioapic.c
xen/arch/x86/hvm/vlapic.c
xen/include/asm-x86/hvm/vioapic.h